package com.sc.nft.entity.vo.mall.req;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @Description: 微信小程序订单创建请求
 * @Author：LiGen
 * @Package：com.sc.nft.controller.request
 * @Project：sc_metago
 * @name：CreateWxMiniOrderByCartReq
 * @Date：2024/5/16 14:31
 * @Filename：CreateWxMiniOrderByCartReq
 */
@Data
public class WxMiniOrderCreateByCartReq {

    @NotNull(message = "购物车列表不能为空")
    @ApiModelProperty("购物车集合")
    private List<Long> cartIds;

    @ApiModelProperty("用户收货地址id")
    @NotNull(message = "收货地址id不能为空")
    private Long mallDeliveryAddressId;
}
